package ooday02;

public class OverrideDemo {
    public static void main(String[] args) {
        Student zg = new Student("张光",25,"黑龙江","Jsd2506","001");
        zg.sayHi();
        Teacher ll = new Teacher("李林",35,"佳木斯",5000.0);
        ll.sayHi();
        Doctor zl = new Doctor("赵亮",40,"齐齐哈尔","主任医师");
        zl.sayHi();
    }
}
